# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: John D Jones III <jnbek1972 -_AT_- g m a i l -_Dot_- com>
# Generator  : CPANPLUS::Dist::Arch 1.28

pkgname=perl-net-dns-sec
pkgver=1.20
pkgrel=2
pkgdesc="DNSSEC extensions to Net::DNS"
arch=('loong64' 'x86_64')
license=('PerlArtistic' 'GPL')
depends=('perl-crypt-openssl-bignum' 'perl-crypt-openssl-dsa' 'perl-crypt-openssl-rsa' 'perl-digest-bubblebabble' 'perl-mime-base32' 'perl-net-dns' 'perl')
checkdepends=('perl-test-pod')
url='https://search.mcpan.org/dist/Net-DNS-SEC'
options=('!emptydirs')
source=("https://search.mcpan.org/CPAN/authors/id/N/NL/NLNETLABS/Net-DNS-SEC-$pkgver.tar.gz")
sha512sums=('fca4bdc8d49b9dddc02a04e40379fef390ec1656816c21faa2df715932cb48df35cc8c4ffe217ef43bb91113e45d0fd0246d7297b0f21e4c7b53b8fc1b27c9cb')
_distdir="Net-DNS-SEC-$pkgver"

build() {
  cd "$srcdir/$_distdir"
  perl Makefile.PL INSTALLDIRS=vendor
  make
}

check() {
  cd "$srcdir/$_distdir"
  make test
}

package() {
  cd "$srcdir/$_distdir"
  make DESTDIR="$pkgdir/" install
}

# vim:set ts=2 sw=2 et:
